<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <style type="text/css">
    input{
          -webkit-appearance: none;
          -moz-appearance: none;
          appearance:none ;
         text-align: center;
         height: 36px;
          width: 248px;
          border-radius: 15px;
          border: 0px solid #fff;
         padding:0 8px;
         outline: 0;
         letter-spacing: 1px;
         color:black;
         font-weight: 600;
         background: rgba(45,45,45,.10);/*半透明背景色*/
         border: 1px solid rgba(255,255,255,.15);
        box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
        text-shadow: 0 1px 2px rgba(0,0,0,.1);
         -o-transition: all .2s;
        -moz-transition: all .2s;
         -webkit-transition: all .2s;
        -ms-transition: all .2s;
}
        input:focus{
          box-shadow:0 0 5px 4px rgba(0, 0, 0,0.1);
     }
      input::-webkit-input-placeholder{ /*WebKit browsers*/
          color: rgba(255,255,255,0.8);
      }
  
      input::-moz-input-placeholder{ /*Mozilla Firefox*/
          color: rgba(255,255,255,0.8);
      }
  
      input::-ms-input-placeholder{ /*Internet Explorer*/ 
         color: rgba(255,255,255,0.8);
   }
    </style>
    <title>添加宠物</title>
  
  </head>
  
  <body>
   	<center>
   		<h2>增加新病例</h2>
   		<form action="DesServlet?op=insert" method="post" 
   		 >
   			
   			宠物编号:<input type="text" name="pet_id"/ ><br>
   			主治医生:<input type="text" name="doctor"/><br>
   		         疾病描述:<input type="text" name="sickness"/><br>
   			看病日期:<input type="text" name="data"/><br>

   			<input type="submit" value="提交"/>&nbsp;&nbsp;
   			<input type="reset" value="重置"/>
   		</form>
   	</center>
  </body>
</html>
